Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

remove all uses of multiaddrs #14

Merged
merged 1 commit into from
Mar 6, 2019
Merged

remove all uses of multiaddrs #14

merged 1 commit into from
Mar 6, 2019

Conversation

Stebalien
Copy link
Member

NATs only care about TCP/UDP and ports. Using multiaddrs here made this library really hard to work with correctly.

Furthermore, this library doesn't actually support specifying the internal IP address. However, we'd still act like the internal IP address mattered. This caused all sorts of mismatches.

NATs only care about TCP/UDP and ports. Using multiaddrs here made this library
really hard to work with correctly.

Furthermore, this library doesn't _actually_ support specifying the internal IP
address. However, we'd still _act_ like the internal IP address mattered. This
caused all sorts of mismatches.
@ghost ghost assigned Stebalien Mar 6, 2019
@ghost ghost added the status/in-progress In progress label Mar 6, 2019
Stebalien added a commit to libp2p/go-libp2p that referenced this pull request Mar 6, 2019
1. Update to work with libp2p/go-libp2p-nat#14.
2. Avoid observed addrs when our NAT tells us about external addrs.
3. Ignore bad addrs reported by our NAT. Substitute with observed addrs.
4. Fix #428.
Stebalien added a commit to libp2p/go-libp2p that referenced this pull request Mar 6, 2019
1. Update to work with libp2p/go-libp2p-nat#14.
2. Avoid observed addrs when our NAT tells us about external addrs.
3. Ignore bad addrs reported by our NAT. Substitute with observed addrs.
4. Fix #428.
Copy link
Contributor

@vyzo vyzo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks fine, lots of red.

@Stebalien Stebalien merged commit 4bd45c1 into master Mar 6, 2019
@ghost ghost removed the status/in-progress In progress label Mar 6, 2019
Stebalien added a commit to libp2p/go-libp2p that referenced this pull request Mar 6, 2019
1. Update to work with libp2p/go-libp2p-nat#14.
2. Avoid observed addrs when our NAT tells us about external addrs.
3. Ignore bad addrs reported by our NAT. Substitute with observed addrs.
4. Fix #428.
Stebalien added a commit to libp2p/go-libp2p that referenced this pull request Mar 6, 2019
1. Update to work with libp2p/go-libp2p-nat#14.
2. Avoid observed addrs when our NAT tells us about external addrs.
3. Ignore bad addrs reported by our NAT. Substitute with observed addrs.
4. Fix #428.
Stebalien added a commit to libp2p/go-libp2p that referenced this pull request Mar 6, 2019
1. Update to work with libp2p/go-libp2p-nat#14.
2. Avoid observed addrs when our NAT tells us about external addrs.
3. Ignore bad addrs reported by our NAT. Substitute with observed addrs.
4. Fix #428.
@raulk raulk deleted the feat/no-multiddr branch March 6, 2019 21:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants